Part Number Hot Search : 
CXA1386P 1040B TC74H TC74H QEA95BE0 TC74H TC74H 91000
Product Description
Full Text Search
 

To Download DSP56362EVMUPUM Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  dspd56362evm upgrade manual revision 3.1 motorola, incorporated semiconductor products sector digital audio operations 6501 william cannon drive west austin, tx 78735-8598 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola reserves the right to make changes without further notice to any products herein. motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, in cluding without limitation consequential or incidental damages. ?typical? parameters which may be provided in motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. all operating parameters, including ?typicals? must be validated for each customer application by customer?s technical experts. motorola does not convey any license under its patent rights nor the rights of others. motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support life, or for any other application in which the failure of the motorola product could create a situation where personal injury or death may occur. should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the part. motorola and are registered trademarks of motorola, inc. motorola, inc. is an equal opportunity/affirmative action employer. how to reach us: usa/europe/locations not listed : motorola literature distribution p.o. box 5405 denver, colorado 80217 (303) 675-2140 (800) 441-2447 mfax : rmfax0@email.sps.mot.com touchtone (602) 244-6609 us & canada only (800) 774-1848 asia/pacific : motorola semiconductors h.k. ltd. 8b tai ping industrial park 51 ting kok road tai po, n.t., hong kong 852-26629298 technical resource center: 1 (800) 521-6274 dsp helpline dsphelp@dsp.sps.mot.com japan : nippon motorola ltd. spd, strategic planning office 4-32-1, nishi-gotanda shinagawa-ku, tokyo 141, japan 81-3-5487-8488 internet : http://www.motorola-dsp.com once is a trademark of motorola, inc. introduction this document provides a description of how to upgrade the standard dsp56362evm evaluation module to the dspd56362 and related components. after the upgrade is complete the evm system will be capable of autodectect/autoswitching of pcm, dolby digital tm , dts tm and mpeg bitstreams in addition to various post decoder functions. the user interface of the upgraded evm is also described. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola dspd56362evm upgrade manual iii table of contents paragraph page number title number 1.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.2 upgrade kit contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.3 upgrade instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.3.1 dsp replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 1.3.2 68hc11 replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 1.3.3 eprom replacement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 1.3.4 jumper settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 2.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2.2 required equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2.3 demonstration setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2.4 user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 2.4.1 lcd screen description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 2.4.2 decoder activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 2.4.3 decoder source type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 2.4.4 speaker configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 2.4.5 volume control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 2.4.5.1 master volume control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 2.4.5.2 individual volume control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 3.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.2 main function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.3 system-specific configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 3.4 mode screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 3.5 event-handler function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 3.6 spi communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 3.6.1 receiving data from the dsp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 3.6.2 transmitting data to the dsp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
-iv dspd56362evm upgrade manual motorola f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola dspd56362evm upgrade manual iii list of figures figure page number title number figure 1-1 upgradeable devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 figure 1-2 jumper settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 figure 2-1 home theater demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 figure 2-2 jumper settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 figure 2-3 lcd screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 figure 2-4 lcd screens (cont.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
-vi dspd56362evm upgrade manual motorola f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola dspd56362evm upgrade manual 1-1 section 1 upgrade instructions 1.1 introduction this section describes the instructions on how to upgrade the dsp56362evm to have dspd56362 decoder functionality. the dsp56362evm upgrade kit allows user to replace the dsp, 68hc11, and eprom to add the following functionalities to the evm:  auto-detection of dolby digital tm , dts tm , mpeg and pcm source.  standalone operation of evm.  lcd user interface for control and status operations. 1.2 upgrade kit contents the dsp56362evm upgrade kit contains the following items:  dspd56362 rev. d digital signal processor  mc68hc711e9 rev 3.0 microcontroller  at27lv010a rev 1.0 eprom  jumpers  evm supplement manual (this document) the dspd56362 applications user manual can be downloaded from motorola ? s website: http://mot-sps.com/adc/markets/dspaudio/dsp56362.html f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
1-2 dspd56362evm upgrade manual motorola upgrade instructions upgrade instructions 1.3 upgrade instructions figure 1-1 shows the location of the dsp, 68hc11, and eprom. these components need to be replaced with the components included in the upgrade kit. pin 1 is indicated by the black dot. figure 1-1 upgradeable devices f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
upgrade instructions upgrade instructions motorola dspd56362evm upgrade manual 1-3 1.3.1 dsp replacement to upgrade the dsp: 1. use a philips-head screwdriver to remove the 4 screws on the dsp socket u1. 2. remove the socket top. 3. remove the generic dsp using a chip suction device and replace it with the dsp included in the upgrade kit. verify that the dsp is placed in the socket securely and that the pins make contact with the socket. refer to figure 1-1 for the correct orientation of the dsp. caution : to avoid damaging the dsp, use an anti-static wrist band when handling this device. using a device other than a chip suction device to lift the dsp may damage the fine-pitched pins. 4. replace the socket top and screw the top down. 1.3.2 68hc11 replacement to upgrade the 68hc11: 1. remove the 68hc11 microcontroller from the socket u7 using a plcc chip extractor device. 2. replace the component with the 68hc11 included in the upgrade kit. refer to figure 1-1 for the correct orientation of the 68hc11. 1.3.3 eprom replacement to upgrade the eprom: 1. remove the eprom from the socket u6 using a plcc chip extractor device. 2. replace the component with the eprom included in the upgrade kit. refer to figure 1-1 for the correct orientation of the eprom. 1.3.4 jumper settings figure 1-2 shows how to modify the jumper settings: f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
1-4 dspd56362evm upgrade manual motorola upgrade instructions upgrade instructions 1. place a jumper from jp11 pin 14 to jp11 pin 17. ( pb13 to +3.3v ) 2. place a jumper from jp11 pin 15 to jp11 pin 6. ( pb14 to gnd ) 3. place jumpers on jp8 pins 1-2, 5-6, and 7-8. (mode 2) figure 1-2 jumper settings f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola dspd56362evm upgrade manual 2-1 section 2 demonstration instructions 2.1 introduction this section describes the instructions on how to setup the evm to demonstrate dolby digital tm , dolby pro logic tm , dts tm and mpeg decoding. 2.2 required equipment  dolby digital tm , dts tm , or pcm source, i.e. dvd, laserdisc, dat, cd, vhs, etc.  an audio amplifier driving headphones or speakers as shown on the following page in figure 2-1  7-9v ac/dc power supply 2.3 demonstration setup 1. verify that the dsp, 68hc11, and eprom have been upgraded as described in section 2.3 . 2. verify that the jumper modifications have been made as described in section 1.3.4 . 3. verify that the jumper settings are correct as shown in figure 2-2 . the default jumper setting assumes that an optical cable is used to connect the input to the evm. however, if using a coaxial cable, move the jumper on jp18 to pins 1-2. 4. connect the input and output cables to the evm as shown in figure 2-1 . 5. apply 7-9v ac/dc to the power connector p2. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
2-2 dspd56362evm upgrade manual motorola demonstration instructions demonstration setup figure 2-1 home theater demonstration power amp laserdisc/dvd player listener dsp56362evm subwoofer (unpowered) subwoofer (powered) dsp56362 68hc11e9 bb1716 bb1716 bb1716 bb1716 ispls 12032 dir1700 cs8414 cs8404 bb1800 p2 p3 p1 jp12 jp16 jp13 jp14 jp8 jp31 jp11 jp15 jp7 jp5 jp4 jp20 jp24 jp19 jp2 jp25 jp23 jp21 jp22 jp10 jp20 ir rx jp18 gs71108j-10 gs71108j-10 gs71108j-10 lr rs ls c sub ra la lin rin elec. out elec. out opt. in elec. in f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
demonstration instructions demonstration setup motorola dspd56362evm upgrade manual 2-3 figure 2-2 jumper settings f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
2-4 dspd56362evm upgrade manual motorola demonstration instructions user interface 2.4 user interface figure 2-3 illustrates the different screens of the lcd panels and the corresponding actions of the pushbutton switches. figure 2-3 lcd screens s2 s3 s4 s5 evm56362 v x.x go s2 s3 s4 s5 dolby digital spkr vol to volume configuration screen start screen decoder status screen to speaker configuration screen f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
demonstration instructions user interface motorola dspd56362evm upgrade manual 2-5 s2 s3 s4 s5 left/right: wide wide nrrw next s2 s3 s4 s5 center: wide wide nrrw none next s2 s3 s4 s5 surround: wide wide nrrw none next s2 s3 s4 s5 subwoofer: wide wide none next home speaker configuration screen to decoder status screen f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
2-6 dspd56362evm upgrade manual motorola demonstration instructions user interface s2 s3 s4 s5 volume setting mstr indv home s2 s3 s4 s5 rightsurr + 0 db v+ v- next home s2 s3 s4 s5 left + 0 db v+ v- next home volume configuration screen s2 s3 s4 s5 center + 0 db v+ v- next home s2 s3 s4 s5 right + 0 db v+ v- next home s2 s3 s4 s5 leftsurr + 0 db v+ v- next home s2 s3 s4 s5 subwoofer + 0 db v+ v- next home s2 s3 s4 s5 master + 0 db v+ v- un/mute home s2 s3 s4 s5 mute: off on off home to decoder status screen f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
demonstration instructions user interface motorola dspd56362evm upgrade manual 2-7 figure 2-4 lcd screens (cont.) 2.4.1 lcd screen description the evm ? s user interface allows the user to perform the following functions:  activate the dsp decoder functionality  obtain decoder source type status information  select speaker configuration  control the master volume  control the individual channels volume  control mute and unmute 2.4.2 decoder activation once power is applied to the evm, the start screen will be displayed on the lcd panel. pressing the s2 button ( ? go ? ) will activate the decoder and the lcd will display the message ? wait... ? until a software patch is downloaded to the dsp. after several seconds, auto-detection is activated and the decoder type is shown on the screen. 2.4.3 decoder source type it is not necessary to reset the evm when changing the source (ac-3, dts, mpeg or pcm). once the change is made the lcd panel will automatically display the current decoder source type on the decoder status screen. 2.4.4 speaker configuration pressing the s2 button ( ? spkr ? ) while in the decoder screen gives the user control of the speaker configuration. the default configuration for the left, right, center, surround, and subwoofer speakers are initially set to ? wide ? mode. however, the user has the option of changing the left, right, center, and surround speaker configuration to ? narrow ? mode or turning off the center, surround and subwoofer speakers for a two-speaker configuration. pressing the ? next ? button allows the user to f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
2-8 dspd56362evm upgrade manual motorola demonstration instructions user interface configure the next speaker. table 2-1 summarizes the available speaker settings. if the source is pcm, the dsp assumes the source is surround encoded and decodes the bitstream as dolby pro logic. 2.4.5 volume control pressing the s4 button ( ? vol ? ) while in the decoder screen gives the user control of the master and individual channel volume. the default master and individual channel volume setting is 0 db. 2.4.5.1 master volume control pressing the s2 button ( ? mstr ? ) while in the volume screen gives the user control of the master volume. in the master volume screen, the master volume may be changed by pressing the s2 button ( ? v+ ? ) to increase the volume or the s3 button ( ? v- ) to decrease the volume in increments of 1 db. the volume range is from -64 db to +64 db. the master volume may be muted and unmuted by pressing the s4 button ( ? un/mute ? ) and selecting ? on ? or ? off ? . pressing the s5 button ( ? home ? ) changes the display back to the decoder screen. 2.4.5.2 individual volume control pressing the s3 button ( ? indiv ? ) while in the volume screen gives the user control of the individual channel volume. in the individual channel volume screen, the individual channel volume may be changed by pressing the s2 button ( ? v+ ? ) to increase the volume or the s3 button ( ? v- ) to decrease table 2-1 speaker configuration speaker settings left/right wide - default narrow center wide - default narrow none surround wide - default narrow none subwoofer wide - default none f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
demonstration instructions user interface motorola dspd56362evm upgrade manual 2-9 the volume in increments of 1 db. the volume range is from -64 db to +64 db. the s4 button ( ? next ? ) allows the user to cycle through the different channels. pressing the s5 button ( ? home ? ) changes the display back to the decoder screen. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
2-10 dspd56362evm upgrade manual motorola demonstration instructions user interface f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola dspd56362evm upgrade manual 3-1 section 3 68hc11 source code desciption 3.1 introduction this section gives a brief description of how the 68hc11 microcontroller code works in case the user needs to make modifications or additions to the user interface. 3.2 main function the following steps are taken in the main function of the code: 1. initregs( ) - initialize 68hc11 control registers:  configure port a pins to be inputs from switches s2, s3, s4, and s5.  configure port b pins to be outputs to lcd and d/a converters control signals.  configure port c pins to be outputs to lcd data lines.  configure port d pins to be input from and outputs to dsp ? s shi port. 2. initvol( ) - initialize d/a converters:  configure d/a converters to operate in software mode.  initialize attenuation and input data format for all four d/a converters. 3. initkey( ) - initialize key input manager:  configure keypad action on the evm. 4. initlcd( ) - initialize lcd manager:  configure to display messages on the lcd. 5. initparams( ) - initialize parameters:  initialize left, right, center, surround, and subwoofer volume at 0 db. 6. setmode(boot_mode) - display initial screen on lcd. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
3-2 dspd56362evm upgrade manual motorola 68hc11 source code desciption system-specific configuration  run initav2( ) function  run runpatch( ) function. 7. enable interrupts and wait for keypad inputs. 3.3 system-specific configuration the initav3( ) function configures specific dsp registers for the evm56362. however, other systems may require different settings and this function may need to be modified. these system differences may affect the following:  multiplication factor in the pctl.  address attribute aax signals for selecting external memory devices.  number of wait states for each aax signal in the bcr.  esai receive and transmit configuration. table 3-1 shows the default dsp register settings for the evm56362. table 3-1 initav2 default settings register address value description pll pctl 0xfffffd 0x0f000b dsp operating frequency of 96mhz bus interface aar0 0xfffff9 0x0c063d additional address line a18 aar1 0xfffff8 0x080539 map external eprom access x/y/p:$080000 to $0fffff aar2 0xfffff7 0x040639 map external sram access x/y/p:$040000 to $07ffff bcr 0xfffffb 0x0005e1 aar0 1 wait state aar1 15 wait staes aar2 1 wait state interrupt priority iprp 0xfffffe 0x000187 esai interrupt priority level 2 dax interrupt priority level 1 timer, shi interrupt level 0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
68hc11 source code desciption system-specific configuration motorola dspd56362evm upgrade manual 3-3 enhanced serial audio interface saicr 0xffffb4 0x000000 independent clock and frame sync signals for rx and tx (asynchronous) rcr 0xffffb7 0x714902 rx1 is enabled, shift data in msb first, left-aligned data word, network mode, 32-bit slot length, 16-bit word length, word-lenght frame sync, frame sync occurs 1 serial clock cycle earlier, rx, rx exception, and rx even data slot interrupts are enabled rccr 0xffffb8 0x0c0200 fixed divide by 8 prescaler is operational, 2 words per frame, falling edge of rx clock is used to clock data in and frame sync, rising edge of rx clock is used to latch data in and frame sync, frame start indicated by low level on frame sync pin tcr 0xffffb5 0x717d0f tx0, tx1, tx2 and tx3 are enabled, shift data out in msb first, left-aligned data word, network mode, 32-bit slot length, 24-bit word length, word-length frame sync, tx, tx exception, and tx even data slot interrupts are enabled tccr 0xffffb6 0x0c0200 fixed divide by 8 prescaler is operational, 2 words per frame, falling edge of tx clock is used to clock data out and frame sync, rising edge of rx clock is used to latch the data and frame sync in, frame start is indicated by low level on frame sync pin rsma 0xffffbb 0x000003 receive a data word and generate a receive full condition rdf=1 for slots 1 and 2 rsmb 0xffffbc 0x000000 only slots 1 and 2 are used tsma 0xffffb9 0x000003 transmit a data word and generate a transmit empty condition tde=1 for slots 1 and 2 tsmb 0xffffba 0x000000 only slots 1 and 2 are used table 3-1 initav2 default settings (continued) register address value description f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
3-4 dspd56362evm upgrade manual motorola 68hc11 source code desciption mode screens 3.4 mode screens each screen is defined by the current mode as well as the next mode associated with each of the four switches. these modes are stored in the array tablemodes . the example below shows the format of the mode screen: tablemodes[ ] = { {current_mode, {nxt_mode_s2, nxt_mode_s3, nxt_mode_s4, nxt_mode_s5}, ?text line? 1, ?action_s2 action_s3 action_s4 action_s5?}, } in the example below, boot_mode is the first screen that is displayed when the dsp is reset. decoding is started when ? go ? is selected by pressing switch s2. when s2 is pressed, the new mode is dec_mode which displays the decoder type. pressing switch s3, s4, or s5 does not initiate any action, thus no_mode is the next mode. tablemodes[ ] = { {boot_mode, {dec_mode, no_mode, no_mode, no_mode}, ? evm56362 ? , ? go ? }, } f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
68hc11 source code desciption event-handler function motorola dspd56362evm upgrade manual 3-5 3.5 event-handler function the processevent( ) function processes the events according to the current display mode and keypad action. for example, if the current mode is mute_mode , the processevent function sends the mute command to the dsp if switch s2 is pressed, or it sends the unmute command to the dsp if switch s3 is pressed, or sets the mode to the decoder status mode dec_mode if s5 pressed. processevent ( ) { case(mute_mode): { send mute opcode if s2 is pressed send unmute opcode if s3 is pressed return to start screen if s5 is pressed break; } } 3.6 spi communication communication between the 68hc11 host microcontroller and the dsp is via spi. the host is configured as the master and the dsp is configured as the slave. the exchangespi_dsp (rx_addr, tx_addr) function performs the spi communication by exchanging 3 bytes. data at address tx_addr is transmitted to the dsp and data received from the dsp is stored at address rx_addr . 3.6.1 receiving data from the dsp the 68hc11 can receive a data word from the dsp by using the getdsp (opcode) function. this function is used for receiving status information from the dsp. the opcode parameter specifies the status command. for example, the command dsp_reply = getdsp (mode_source) prompts the dsp to reply with the decoder type. in this case, the parameter mode_source is the command 0x0a02100 . the reply may be dolby digital, dts, mpeg, or pcm. the status opcodes are listed in the dsp56362 applications user manual. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
3-6 dspd56362evm upgrade manual motorola 68hc11 source code desciption spi communication 3.6.2 transmitting data to the dsp the 68hc11 can transmit a data word to the dsp by using the senddsp (opcode) function. this function is used for transmitting control commands to the dsp. the opcode parameter specifies the control command. for example, the command setdsp (mute) sends the control opcode to mute the outputs of the dsp. in this case the parameter mute is the command 0xe08480 . the control opcodes are listed in the dsp56362 applications user manual. the setdsp function has other variations depending on the number of data words to send. these variations include: setdsp2 (opcode, data) setdsp3 (opcode, address, data) setdsp4 (opcode, address, data1, data2) setdsp5 (opcode, address, data1, data2, data3) when multiple data words are transmitted, these words are stored in contiguious memory locations. forexample, data1 will be stored at address and data 2 will be stored at address+1 . f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .


▲Up To Search▲   

 
Price & Availability of DSP56362EVMUPUM

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X